
<!doctype html>
<meta name="referrer" content="no-referrer" />
<html>
<head>
    <meta charset="utf-8" />
    <title>KindEditor Unittest</title>
    <script src="kindeditor-all.js"></script>
</head>
<style>
    * {
        box-sizing: border-box;
    }
</style>
<body>
<textarea id="editor" name="editor" style="width:100%;height:500px;visibility:hidden;">3213213</textarea>

<br>
<br>
<br>
<br>
<br>
<br>
<br>

<textarea id="editor2" name="editor2" style="width:100%;height:500px;visibility:hidden;">3213213</textarea>
</body>
<script>
    var editor;
    var editor2;
    KindEditor.ready(function(K) {
        editor = K.create('textarea[name="editor"]', {
            allowFileManager: true,
            langType : 'zh-CN',
            uploadJson : 'php/upload_json.php',
            allowFileManager : true,
            filterMode : false,
            afterBlur: function () { this.clearSave(); }

        });

        editor2 = K.create('textarea[name="editor2"]', {
            allowFileManager: true,
            langType : 'zh-CN',
            uploadJson : 'php/upload_json.php',
            allowFileManager : true,
            filterMode : false,
            afterBlur: function () { this.clearSave(); }

        });
    });
</script>
</html>
